import i18n from '@src/locales';
// 日程管理需求-计划时间提醒-系统设置-表单工单
import FormPlanEndtimeSetting from './FormPlanEndtimeSetting.vue'
import FormPlanEndtimePreview from './FormPlanEndtimePreview.vue'
import FormPlanEndtime from './FormPlanEndtime.vue'

const TaskPlanEndTimeField = {
  formType: 'planEndTime',
  fieldName: 'planEndTime',
  name: i18n.t('common.form.type.planEndTime'),
  isSystem: 1,
  forceDelete: true,
  setting:{dataType:'date'},
  component: {
    preview: FormPlanEndtimePreview,
    build: FormPlanEndtime,
    extend: {
      'task_planEndTime_setting': FormPlanEndtimeSetting,
      'event_planEndTime_setting': FormPlanEndtimeSetting,
      'projectTask_planEndTime_setting': FormPlanEndtimeSetting,
      'projectType_planEndTime_setting': FormPlanEndtimeSetting
    }
  }
}

export default TaskPlanEndTimeField
